package com.qxp.simplerpc.monitor.service;

import com.qxp.simplerpc.entity.InvokerMessage;
import com.qxp.simplerpc.entity.MonitorMessage;

import java.util.List;

/**
 * 监控服务
 */
public interface MonitorService {
    void accept(MonitorMessage monitorMessage);

    List<MonitorMessage> getCachedInvokeMsg();
}
